package com.bwie.common.exceptions;

import lombok.Data;

/**
 * @className: UserLoginExceptions
 * @Description: TODO
 * @version: v1.８.0
 * @author: 李明
 * @date: 2025/11/10 9:53
 */
@Data
public class UserLoginExceptions extends RuntimeException{

    /**
     * 异常编码
     */
    private Integer code;

    /**
     * 异常信息
     */
    private String message;

    /**
     * Constructs a new runtime exception with {@code null} as its
     * detail message.  The cause is not initialized, and may subsequently be
     * initialized by a call to {@link #initCause}.
     */
    public UserLoginExceptions(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
